package com.kaikeba.t31ticket.ticket.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author wuhe
 * @email itzhao@163.com
 * @date 2021-11-14 17:17:29
 */
@Data
@TableName("ticket_station_section")
public class StationSectionEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 
	 */
	private Long trainId;
	/**
	 * 
	 */
	private Long startStationId;
	/**
	 * 
	 */
	private Long endStationId;
	/**
	 * 距离，单位公里
	 */
	private Integer distance;
	/**
	 * 到站日期，根据这个检索车票
	 */
	private Date arrivalDate;
	/**
	 * 到站时间
	 */
	private Date arrivalTime;
	/**
	 * 出站时间
	 */
	private Date leaveTime;
	/**
	 * 始发站日期，可以找对应的车票
	 */
	private Date departureDate;
	/**
	 * 
	 */
	private Date createTime;
	/**
	 * 
	 */
	private Date updateTime;

}
